#ifndef __POINT_H_INCLUDED__
#define __POINT_H_INCLUDED__

#include<iostream>

class Point
{
  private:
    int x;//abscisa
    int y;//ordonata
  public:
    Point(int x = 0, int y = 0);
    int getX() const;
    int getY() const;
    void setX(int);
    void setY(int);
    friend std::istream& operator>>(std::istream&, Point&);
    friend std::ostream& operator<<(std::ostream&, Point);
    friend class Segment;
    friend class Poligon; 
};

#endif
